package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * DDOS攻击表对象 tb_ddos
 * 
 * @author 许一溪
 * @date 2025-02-17
 */
public class TbDdos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ddosId;

    /** 发生时间 */
    @Excel(name = "发生时间")
    private String time;

    /** 机构代码 */
    @Excel(name = "机构代码")
    private String institutionCode;

    /** 机构简称 */
    @Excel(name = "机构简称")
    private String institutionShort;

    /** 攻击目的地址 */
    @Excel(name = "攻击目的地址")
    private String destinationIp;

    /** 攻击目标系统 */
    @Excel(name = "攻击目标系统")
    private String targetSystem;

    /** 攻击类型 */
    @Excel(name = "攻击类型")
    private String attackType;

    /** 攻击类型细分子类 */
    @Excel(name = "攻击类型细分子类")
    private String attackTypeSub;

    /** 攻击流量 */
    @Excel(name = "攻击流量")
    private String attackFlow;

    /** 攻击源地址 */
    @Excel(name = "攻击源地址")
    private String sourceIp;

    /** 推送状态 */
    @Excel(name = "推送状态")
    private String status;

    /** 指标有效标志 */
    @Excel(name = "指标有效标志")
    private String delFlag;

    private TbInstitution tbInstitution;

    public TbDdos() {
    }

    @Override
    public String toString() {
        return "TbDdos{" +
                "ddosId=" + ddosId +
                ", time='" + time + '\'' +
                ", institutionCode='" + institutionCode + '\'' +
                ", institutionShort='" + institutionShort + '\'' +
                ", destinationIp='" + destinationIp + '\'' +
                ", targetSystem='" + targetSystem + '\'' +
                ", attackType='" + attackType + '\'' +
                ", attackTypeSub='" + attackTypeSub + '\'' +
                ", attackFlow='" + attackFlow + '\'' +
                ", sourceIp='" + sourceIp + '\'' +
                ", status='" + status + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", tbInstitution=" + tbInstitution +
                '}';
    }

    public TbInstitution getTbInstitution() {
        return tbInstitution;
    }

    public void setTbInstitution(TbInstitution tbInstitution) {
        this.tbInstitution = tbInstitution;
    }

    public TbDdos(Long ddosId, String time, String institutionCode, String institutionShort, String destinationIp, String targetSystem, String attackType, String attackTypeSub, String attackFlow, String sourceIp, String status, String delFlag, TbInstitution tbInstitution) {
        this.ddosId = ddosId;
        this.time = time;
        this.institutionCode = institutionCode;
        this.institutionShort = institutionShort;
        this.destinationIp = destinationIp;
        this.targetSystem = targetSystem;
        this.attackType = attackType;
        this.attackTypeSub = attackTypeSub;
        this.attackFlow = attackFlow;
        this.sourceIp = sourceIp;
        this.status = status;
        this.delFlag = delFlag;
        this.tbInstitution = tbInstitution;
    }

    public void setDdosId(Long ddosId)
    {
        this.ddosId = ddosId;
    }

    public Long getDdosId() 
    {
        return ddosId;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }
    public void setInstitutionCode(String institutionCode) 
    {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() 
    {
        return institutionCode;
    }
    public void setInstitutionShort(String institutionShort) 
    {
        this.institutionShort = institutionShort;
    }

    public String getInstitutionShort() 
    {
        return institutionShort;
    }
    public void setDestinationIp(String destinationIp) 
    {
        this.destinationIp = destinationIp;
    }

    public String getDestinationIp() 
    {
        return destinationIp;
    }
    public void setTargetSystem(String targetSystem) 
    {
        this.targetSystem = targetSystem;
    }

    public String getTargetSystem() 
    {
        return targetSystem;
    }
    public void setAttackType(String attackType) 
    {
        this.attackType = attackType;
    }

    public String getAttackType() 
    {
        return attackType;
    }
    public void setAttackTypeSub(String attackTypeSub) 
    {
        this.attackTypeSub = attackTypeSub;
    }

    public String getAttackTypeSub() 
    {
        return attackTypeSub;
    }
    public void setAttackFlow(String attackFlow) 
    {
        this.attackFlow = attackFlow;
    }

    public String getAttackFlow() 
    {
        return attackFlow;
    }
    public void setSourceIp(String sourceIp) 
    {
        this.sourceIp = sourceIp;
    }

    public String getSourceIp() 
    {
        return sourceIp;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

}
